package com.itboye.lottery.bean;

public class UserDataBean {
    /**
     * {
     * "id": "2",
     * "nickname": "技术-何",
     * "user_money": "0.00",
     * "head_pic": "http://thirdwx.qlogo.cn/mmopen/vi_32/W4M3b0cacrSfF6ek6CQPxD7Lsa5cpSRicoVze9z6x3LiapsY1W9sPZRV2HwXCYibnsDOY7jlNXL2ZGklcGA2TKXeA/132",
     * "token": "81aaab853876fcbe6803029c8855764a064eb680",
     * "time_out": "1531810450",
     * "realname_status": 0,
     * "is_new": 0
     * }
     */
    private int id;
    private String nickname;
    private double user_money;
    private String head_pic;
    private String headimgurl;
    private String token;
    private long time_out;
    private int realname_status;
    private int is_new;
    private int is_register;
    private String openid;
    private String unionid;
    private String invitation_code;
    /**
     * guanzhu : 2
     * fensi : 1
     * tixian : 1949.38
     * keyong : 6659.38
     */

    private String guanzhu;
    private String fensi;
    private String tixian;
    private double keyong;
    private String mobile;
    private String user_token;

    public String getUser_token() {
        return user_token;
    }

    public void setUser_token(String user_token) {
        this.user_token = user_token;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getInvitation_code() {
        return invitation_code;
    }

    public void setInvitation_code(String invitation_code) {
        this.invitation_code = invitation_code;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public int getIs_register() {
        return is_register;
    }

    public void setIs_register(int is_register) {
        this.is_register = is_register;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public double getUser_money() {
        return user_money;
    }

    public void setUser_money(double user_money) {
        this.user_money = user_money;
    }

    public String getHead_pic() {
        return head_pic;
    }

    public void setHead_pic(String head_pic) {
        this.head_pic = head_pic;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public long getTime_out() {
        return time_out;
    }

    public void setTime_out(long time_out) {
        this.time_out = time_out;
    }

    public int getRealname_status() {
        return realname_status;
    }

    public void setRealname_status(int realname_status) {
        this.realname_status = realname_status;
    }

    public int getIs_new() {
        return is_new;
    }

    public void setIs_new(int is_new) {
        this.is_new = is_new;
    }

    public void setGuanzhu(String guanzhu) {
        this.guanzhu = guanzhu;
    }

    public void setFensi(String fensi) {
        this.fensi = fensi;
    }

    public void setTixian(String tixian) {
        this.tixian = tixian;
    }

    public void setKeyong(double keyong) {
        this.keyong = keyong;
    }

    public String getGuanzhu() {
        return guanzhu;
    }

    public String getFensi() {
        return fensi;
    }

    public String getTixian() {
        return String.format("%.2f", Double.valueOf(tixian));
    }

    public String getKeyong() {
        return String.format("%.2f", keyong);
    }
}
